package info.rongtong.service.inter;

import info.rongtong.domain.Article;
import info.rongtong.domain.IndexArticle;

import java.util.List;

import org.aspectj.lang.JoinPoint;

public interface ILucene {

	public void saveLucene(JoinPoint article) throws Exception;
	public void updateLucene(JoinPoint article) throws Exception;
	public void deleteLucene(JoinPoint article) throws Exception;
	public List<Article> queryIndex() throws Exception;
	public IndexArticle queryIndex(String key,int currentPage) throws Exception;
}
